package org.jweb.demo.trans.vo;

import java.util.ArrayList;
import java.util.List;

import org.jweb.core.bean.BaseVO;
import org.jweb.core.bean.annotation.Mapping;
import org.jweb.demo.entity.DemoGoodsTypeDicEntity;

@Mapping(entityClass=DemoGoodsTypeDicEntity.class)
public class DemoGoodsTypeDicVO extends BaseVO{
	@Mapping
	private String id;
	@Mapping
	private String code;
	@Mapping
	private String name;
	@Mapping
	private String parent;
	@Mapping("goodsSet")
	private List<DemoGoodsVO> goodsList = new ArrayList<DemoGoodsVO>();


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParent() {
		return parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	public List<DemoGoodsVO> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(List<DemoGoodsVO> goodsList) {
		this.goodsList = goodsList;
	}

}
